# coding=utf-8
names = ['Michael', 'Bob', '田']
for name in names:
    print(name)
# 1到10的和
suma = 0
for x in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]:
    suma = suma + x
print(suma)

# 1到100的和
sumb = 0
for x in range(201):
    sumb = sumb + x
print(sumb)

# 100内所有奇数和
sumc = 0
n = 99
while n > 0:
    sumc += n
    n -= 2
print(sumc)
